package org.example.service;

import com.lonni.rpc.core.annotation.RpcReference;
import com.lonni.consumer.client.UserClient;
import org.springframework.stereotype.Service;

/**
 * @author: lonni
 * @CreateTime: 2024-07-10  20:27
 * @Description:
 */
@Service
public class TetsService {

    @RpcReference
    private UserClient userClient;

    public String get() {
        String s = userClient.queryUser("211");
        return s;
    }
}
